package com.hua.nailcampus.acl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hua.nailcampus.acl.model.Friends;
import com.hua.nailcampus.acl.model.User;
import com.hua.nailcampus.acl.model.vo.FriendsVo;
import com.hua.nailcampus.acl.model.vo.UserVo;

import java.util.List;

/**
 * @Author:chenjianhua
 * @Date:2023/11/15 19:38
 * @Version 1.8
 */
public interface FriendsService extends IService<Friends> {
    Boolean removeFriendById(Integer userId, Integer fid);

    List<UserVo> getFriendListById(Integer userId);

    Boolean getRelationship(Integer uid, Integer fid);

    void addFriend(Friends friend);

    void passAdd(Friends friend);

    List<FriendsVo> getFriendAddMessage(Integer id);

    Friends getaddFriends(Integer userId, Integer fid);

    void updateNickName(Integer userId, Integer fId, String nickName);
}
